// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.32.0
// 	protoc        v3.21.12
// source: protos/tasks.proto

package proto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type TaskStatus int32

const (
	TaskStatus_Planned TaskStatus = 0
	TaskStatus_Split   TaskStatus = 1
	TaskStatus_Moved   TaskStatus = 2
)

// Enum value maps for TaskStatus.
var (
	TaskStatus_name = map[int32]string{
		0: "Planned",
		1: "Split",
		2: "Moved",
	}
	TaskStatus_value = map[string]int32{
		"Planned": 0,
		"Split":   1,
		"Moved":   2,
	}
)

func (x TaskStatus) Enum() *TaskStatus {
	p := new(TaskStatus)
	*p = x
	return p
}

func (x TaskStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (TaskStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_protos_tasks_proto_enumTypes[0].Descriptor()
}

func (TaskStatus) Type() protoreflect.EnumType {
	return &file_protos_tasks_proto_enumTypes[0]
}

func (x TaskStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use TaskStatus.Descriptor instead.
func (TaskStatus) EnumDescriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{0}
}

type JoinType int32

const (
	JoinType_JoinNone  JoinType = 0
	JoinType_JoinLeft  JoinType = 1
	JoinType_JoinRight JoinType = 2
)

// Enum value maps for JoinType.
var (
	JoinType_name = map[int32]string{
		0: "JoinNone",
		1: "JoinLeft",
		2: "JoinRight",
	}
	JoinType_value = map[string]int32{
		"JoinNone":  0,
		"JoinLeft":  1,
		"JoinRight": 2,
	}
)

func (x JoinType) Enum() *JoinType {
	p := new(JoinType)
	*p = x
	return p
}

func (x JoinType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (JoinType) Descriptor() protoreflect.EnumDescriptor {
	return file_protos_tasks_proto_enumTypes[1].Descriptor()
}

func (JoinType) Type() protoreflect.EnumType {
	return &file_protos_tasks_proto_enumTypes[1]
}

func (x JoinType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use JoinType.Descriptor instead.
func (JoinType) EnumDescriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{1}
}

type Task struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ShardIdFrom    string     `protobuf:"bytes,1,opt,name=shardIdFrom,proto3" json:"shardIdFrom,omitempty"`
	ShardIdTo      string     `protobuf:"bytes,2,opt,name=shardIdTo,proto3" json:"shardIdTo,omitempty"`
	KeyRangeIdFrom string     `protobuf:"bytes,3,opt,name=keyRangeIdFrom,proto3" json:"keyRangeIdFrom,omitempty"`
	KeyRangeIdTo   string     `protobuf:"bytes,4,opt,name=keyRangeIdTo,proto3" json:"keyRangeIdTo,omitempty"`
	KeyRangeIdTemp string     `protobuf:"bytes,5,opt,name=keyRangeIdTemp,proto3" json:"keyRangeIdTemp,omitempty"`
	Bound          []byte     `protobuf:"bytes,6,opt,name=bound,proto3" json:"bound,omitempty"`
	Status         TaskStatus `protobuf:"varint,7,opt,name=status,proto3,enum=spqr.TaskStatus" json:"status,omitempty"`
}

func (x *Task) Reset() {
	*x = Task{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_tasks_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *Task) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Task) ProtoMessage() {}

func (x *Task) ProtoReflect() protoreflect.Message {
	mi := &file_protos_tasks_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Task.ProtoReflect.Descriptor instead.
func (*Task) Descriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{0}
}

func (x *Task) GetShardIdFrom() string {
	if x != nil {
		return x.ShardIdFrom
	}
	return ""
}

func (x *Task) GetShardIdTo() string {
	if x != nil {
		return x.ShardIdTo
	}
	return ""
}

func (x *Task) GetKeyRangeIdFrom() string {
	if x != nil {
		return x.KeyRangeIdFrom
	}
	return ""
}

func (x *Task) GetKeyRangeIdTo() string {
	if x != nil {
		return x.KeyRangeIdTo
	}
	return ""
}

func (x *Task) GetKeyRangeIdTemp() string {
	if x != nil {
		return x.KeyRangeIdTemp
	}
	return ""
}

func (x *Task) GetBound() []byte {
	if x != nil {
		return x.Bound
	}
	return nil
}

func (x *Task) GetStatus() TaskStatus {
	if x != nil {
		return x.Status
	}
	return TaskStatus_Planned
}

type TaskGroup struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Tasks    []*Task  `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
	JoinType JoinType `protobuf:"varint,2,opt,name=joinType,proto3,enum=spqr.JoinType" json:"joinType,omitempty"`
}

func (x *TaskGroup) Reset() {
	*x = TaskGroup{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_tasks_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *TaskGroup) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TaskGroup) ProtoMessage() {}

func (x *TaskGroup) ProtoReflect() protoreflect.Message {
	mi := &file_protos_tasks_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TaskGroup.ProtoReflect.Descriptor instead.
func (*TaskGroup) Descriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{1}
}

func (x *TaskGroup) GetTasks() []*Task {
	if x != nil {
		return x.Tasks
	}
	return nil
}

func (x *TaskGroup) GetJoinType() JoinType {
	if x != nil {
		return x.JoinType
	}
	return JoinType_JoinNone
}

type GetTaskGroupRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *GetTaskGroupRequest) Reset() {
	*x = GetTaskGroupRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_tasks_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetTaskGroupRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetTaskGroupRequest) ProtoMessage() {}

func (x *GetTaskGroupRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_tasks_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetTaskGroupRequest.ProtoReflect.Descriptor instead.
func (*GetTaskGroupRequest) Descriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{2}
}

type GetTaskGroupReply struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	TaskGroup *TaskGroup `protobuf:"bytes,1,opt,name=taskGroup,proto3" json:"taskGroup,omitempty"`
}

func (x *GetTaskGroupReply) Reset() {
	*x = GetTaskGroupReply{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_tasks_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetTaskGroupReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetTaskGroupReply) ProtoMessage() {}

func (x *GetTaskGroupReply) ProtoReflect() protoreflect.Message {
	mi := &file_protos_tasks_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetTaskGroupReply.ProtoReflect.Descriptor instead.
func (*GetTaskGroupReply) Descriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{3}
}

func (x *GetTaskGroupReply) GetTaskGroup() *TaskGroup {
	if x != nil {
		return x.TaskGroup
	}
	return nil
}

type WriteTaskGroupRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	TaskGroup *TaskGroup `protobuf:"bytes,1,opt,name=taskGroup,proto3" json:"taskGroup,omitempty"`
}

func (x *WriteTaskGroupRequest) Reset() {
	*x = WriteTaskGroupRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_tasks_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *WriteTaskGroupRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WriteTaskGroupRequest) ProtoMessage() {}

func (x *WriteTaskGroupRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_tasks_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WriteTaskGroupRequest.ProtoReflect.Descriptor instead.
func (*WriteTaskGroupRequest) Descriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{4}
}

func (x *WriteTaskGroupRequest) GetTaskGroup() *TaskGroup {
	if x != nil {
		return x.TaskGroup
	}
	return nil
}

type WriteTaskGroupReply struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *WriteTaskGroupReply) Reset() {
	*x = WriteTaskGroupReply{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_tasks_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *WriteTaskGroupReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WriteTaskGroupReply) ProtoMessage() {}

func (x *WriteTaskGroupReply) ProtoReflect() protoreflect.Message {
	mi := &file_protos_tasks_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WriteTaskGroupReply.ProtoReflect.Descriptor instead.
func (*WriteTaskGroupReply) Descriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{5}
}

type RemoveTaskGroupRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *RemoveTaskGroupRequest) Reset() {
	*x = RemoveTaskGroupRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_tasks_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RemoveTaskGroupRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RemoveTaskGroupRequest) ProtoMessage() {}

func (x *RemoveTaskGroupRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_tasks_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RemoveTaskGroupRequest.ProtoReflect.Descriptor instead.
func (*RemoveTaskGroupRequest) Descriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{6}
}

type RemoveTaskGroupReply struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *RemoveTaskGroupReply) Reset() {
	*x = RemoveTaskGroupReply{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_tasks_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RemoveTaskGroupReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RemoveTaskGroupReply) ProtoMessage() {}

func (x *RemoveTaskGroupReply) ProtoReflect() protoreflect.Message {
	mi := &file_protos_tasks_proto_msgTypes[7]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RemoveTaskGroupReply.ProtoReflect.Descriptor instead.
func (*RemoveTaskGroupReply) Descriptor() ([]byte, []int) {
	return file_protos_tasks_proto_rawDescGZIP(), []int{7}
}

var File_protos_tasks_proto protoreflect.FileDescriptor

var file_protos_tasks_proto_rawDesc = []byte{
	0x0a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x73, 0x70, 0x71, 0x72, 0x22, 0xfa, 0x01, 0x0a, 0x04, 0x54,
	0x61, 0x73, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x46, 0x72,
	0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49,
	0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64,
	0x54, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49,
	0x64, 0x54, 0x6f, 0x12, 0x26, 0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49,
	0x64, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79,
	0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x6b,
	0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x54, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x0c, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x54, 0x6f, 0x12,
	0x26, 0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x54, 0x65, 0x6d,
	0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67,
	0x65, 0x49, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x75, 0x6e, 0x64,
	0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x28, 0x0a,
	0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e,
	0x73, 0x70, 0x71, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
	0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x59, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x47,
	0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20,
	0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52,
	0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x2a, 0x0a, 0x08, 0x6a, 0x6f, 0x69, 0x6e, 0x54, 0x79,
	0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e,
	0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6a, 0x6f, 0x69, 0x6e, 0x54, 0x79,
	0x70, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f,
	0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x42, 0x0a, 0x11, 0x47, 0x65, 0x74,
	0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2d,
	0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f,
	0x75, 0x70, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x46, 0x0a,
	0x15, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x72,
	0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x70, 0x71, 0x72,
	0x2e, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b,
	0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x15, 0x0a, 0x13, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x61,
	0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x18, 0x0a, 0x16,
	0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
	0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2a, 0x2f,
	0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07,
	0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x70, 0x6c,
	0x69, 0x74, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x6f, 0x76, 0x65, 0x64, 0x10, 0x02, 0x2a,
	0x35, 0x0a, 0x08, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4a,
	0x6f, 0x69, 0x6e, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4a, 0x6f, 0x69,
	0x6e, 0x4c, 0x65, 0x66, 0x74, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x6f, 0x69, 0x6e, 0x52,
	0x69, 0x67, 0x68, 0x74, 0x10, 0x02, 0x32, 0xef, 0x01, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x73,
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x61,
	0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x47,
	0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x1a, 0x17, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73,
	0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4a, 0x0a,
	0x0e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
	0x1b, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b,
	0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x73,
	0x70, 0x71, 0x72, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f,
	0x75, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0f, 0x52, 0x65, 0x6d,
	0x6f, 0x76, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x2e, 0x73,
	0x70, 0x71, 0x72, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72,
	0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x73, 0x70, 0x71,
	0x72, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75,
	0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x73, 0x70, 0x71, 0x72,
	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_protos_tasks_proto_rawDescOnce sync.Once
	file_protos_tasks_proto_rawDescData = file_protos_tasks_proto_rawDesc
)

func file_protos_tasks_proto_rawDescGZIP() []byte {
	file_protos_tasks_proto_rawDescOnce.Do(func() {
		file_protos_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_tasks_proto_rawDescData)
	})
	return file_protos_tasks_proto_rawDescData
}

var file_protos_tasks_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_protos_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_protos_tasks_proto_goTypes = []interface{}{
	(TaskStatus)(0),                // 0: spqr.TaskStatus
	(JoinType)(0),                  // 1: spqr.JoinType
	(*Task)(nil),                   // 2: spqr.Task
	(*TaskGroup)(nil),              // 3: spqr.TaskGroup
	(*GetTaskGroupRequest)(nil),    // 4: spqr.GetTaskGroupRequest
	(*GetTaskGroupReply)(nil),      // 5: spqr.GetTaskGroupReply
	(*WriteTaskGroupRequest)(nil),  // 6: spqr.WriteTaskGroupRequest
	(*WriteTaskGroupReply)(nil),    // 7: spqr.WriteTaskGroupReply
	(*RemoveTaskGroupRequest)(nil), // 8: spqr.RemoveTaskGroupRequest
	(*RemoveTaskGroupReply)(nil),   // 9: spqr.RemoveTaskGroupReply
}
var file_protos_tasks_proto_depIdxs = []int32{
	0, // 0: spqr.Task.status:type_name -> spqr.TaskStatus
	2, // 1: spqr.TaskGroup.tasks:type_name -> spqr.Task
	1, // 2: spqr.TaskGroup.joinType:type_name -> spqr.JoinType
	3, // 3: spqr.GetTaskGroupReply.taskGroup:type_name -> spqr.TaskGroup
	3, // 4: spqr.WriteTaskGroupRequest.taskGroup:type_name -> spqr.TaskGroup
	4, // 5: spqr.TasksService.GetTaskGroup:input_type -> spqr.GetTaskGroupRequest
	6, // 6: spqr.TasksService.WriteTaskGroup:input_type -> spqr.WriteTaskGroupRequest
	8, // 7: spqr.TasksService.RemoveTaskGroup:input_type -> spqr.RemoveTaskGroupRequest
	5, // 8: spqr.TasksService.GetTaskGroup:output_type -> spqr.GetTaskGroupReply
	7, // 9: spqr.TasksService.WriteTaskGroup:output_type -> spqr.WriteTaskGroupReply
	9, // 10: spqr.TasksService.RemoveTaskGroup:output_type -> spqr.RemoveTaskGroupReply
	8, // [8:11] is the sub-list for method output_type
	5, // [5:8] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_protos_tasks_proto_init() }
func file_protos_tasks_proto_init() {
	if File_protos_tasks_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_protos_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Task); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_tasks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*TaskGroup); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_tasks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetTaskGroupRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_tasks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetTaskGroupReply); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_tasks_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*WriteTaskGroupRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_tasks_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*WriteTaskGroupReply); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_tasks_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RemoveTaskGroupRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_tasks_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RemoveTaskGroupReply); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_protos_tasks_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_protos_tasks_proto_goTypes,
		DependencyIndexes: file_protos_tasks_proto_depIdxs,
		EnumInfos:         file_protos_tasks_proto_enumTypes,
		MessageInfos:      file_protos_tasks_proto_msgTypes,
	}.Build()
	File_protos_tasks_proto = out.File
	file_protos_tasks_proto_rawDesc = nil
	file_protos_tasks_proto_goTypes = nil
	file_protos_tasks_proto_depIdxs = nil
}
